<script>
import colors from '@/mixins/color.js';

export default {
  globalData: {
    navHeight: 0,
  },
  mixins: [colors],
  onLaunch(option) {
    // console.warn('当前组件仅支持 uni_modules 目录结构 ，请升级 HBuilderX 到 3.1.0 版本以上！')
    // console.log('App Launch')
    let that = this;
    uni.getSystemInfo({
      success: function (res) {
        that.globalData.navHeight = res.statusBarHeight * (750 / res.windowWidth) + 91;
      }
    })
  },
  onShow: function () {
    console.log('App Show')
  },
  onHide: function () {
    console.log('App Hide')
  }
}
</script>

<style lang="scss">

@import url('@/plugin/emoji-awesome/css/tuoluojiang.css');
@import url('@/plugin/animate/animate.min.css');
@import '@/static/css/base.css';
@import '@/static/iconfont/iconfont.css';
@import '@/static/css/guildford.css';
@import '@/static/css/style.scss';

/*每个页面公共css */
@import '@/uni_modules/uni-scss/index.scss';
/* #ifndef APP-NVUE */
@import '@/static/customicons.css';
// 设置整个项目的背景色
//page {
//  //background-color: #f5f5f5;
//}

/* #endif */
.example-info {
  font-size: 14px;
  color: #333;
  padding: 10px;
}

view {
  box-sizing: border-box;
}

page {
  font-family: PingFang SC;
}

//.bg-color-red {
//  background-color: var(--view-theme) !important;
//}
//
//.syspadding {
//  padding-top: var(--status-bar-height);
//}

.flex {
  display: flex;
}

.uni-scroll-view::-webkit-scrollbar {
  /* 隐藏滚动条，但依旧具备可以滚动的功能 */
  display: none;
}

::-webkit-scrollbar {
  width: 0;
  height: 0;
  color: transparent;
}

.uni-system-open-location .map-content.fix-position {
  height: 100vh;
  top: 0;
  bottom: 0;
}

.open-location {
  width: 100%;
  height: 100vh;
}
</style>
